@import '../assets/theme.scss';
.index-view{
	.new-public{
    padding-top: 40px;
    margin: auto;
    width: 1080px;
    min-height: 600px;
    .header{
      height: 40px;
      position: relative;
      .title{
        position: absolute;
        left: 0;
        right: 90%;
        height: 40px;
        background-color: $color-main;
        text-align: center;
        line-height: 40px;
        color: #FFF;
        font-size: 20px;
        text-shadow: 0 0 4px #FFF;
      }
      .linear{
        position: absolute;
        left: 10%;
        right: 10%;
        top: 19px;
        border-top: 1px dashed $color-main;
      }
      .btn-buy{
        position: absolute;
        top: 5px;
        left: 90%;
        right: 0;
        height: 30px;
        background-color: $color-main;
        text-align: center;
        line-height: 30px;
        color: #FFF;
        font-size: 20px;
        text-shadow: 0 0 4px #FFF;
      }
    }
    .body{
      width: 100%;
      .list{
        font-size: 0;
        width: 100%;
        height: auto;
        padding-top: 20px;
        li{
          position: relative;
          display: block;
          float: left;
          width: 240px;
          margin: 0 15px 20px;
          font-size: 14px;
          box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1), -1px -1px 1px rgba(0, 0, 0, 0.1);
          &:hover{
            box-shadow: 1px 1px 1px $color-main, -1px -1px 1px $color-main;
          }
          .pic{
            width: 100%;
            height: 240px;
            cursor: pointer;
            img{
              height: 100%;
              width: 100%;
            }
          }
          .info{
            position: relative;
            background-color: #FFF;
            height: 100px;
            width: 100%;
            padding: 10px;
            .price{
              font-size: 18px;
              color: $color-main;
              .blod{
                font-weight: bold;
              }
            }
            .name{
              padding-top: 2px;
              font-size: 12px;
              cursor: pointer;
              &:hover{
                text-decoration: underline;
                color: $color-main;
              }
            }
            .place{
              position: absolute;
              bottom: 10px;
              right: 10px;
              span{
                position: relative;
                top: -1px;
              }
              .icon{
                font-size: 14px;
              }
            }
          }
        }
      }
      .paging{
        margin-top: 60px;
        width: 100%;
        ul{
          text-align: center;
          font-size: 20px;
          li{
            margin: 0 2px;
            cursor: pointer;
            font-size: 14px;
            line-height: 30px;
            display: inline-block;
            padding: 0 12px;
            height: 30px;
            background-color: $color-main;
            color: #FFF;
            transition: all .2s linear;
            border-radius: 4px;
            &:hover{
              background-color: $color-main - #333;
              border-radius: 10px;
            }
            &.active{
              background-color: $color-main - #333;
              cursor: default;
              border-radius: 4px;
            }
            &.cancel{
              background-color: $color-main + #333;
              cursor: default;
              border-radius: 4px;
            }
          }
        }
      }
    }
	}
}